package com.gec.hrm.dao.impl;

import com.gec.hrm.pojo.Dept;
import com.gec.hrm.pojo.Job;
import com.gec.hrm.pojo.User;

import java.util.List;

public interface DeptDao {
    //查询的方法
    public List<Dept> deptList(String name, int page, int limit);

    public boolean checkDeptName(String loginname);
    public int addDept(Dept user);

    public int updDept(Dept user);

    // 查询总条数
    public int count();

    public int delDept(int id);

    public List<Dept> getAllDept();
}
